package com.ls.lserp.modules.sys.dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.QualityControlEntity;
import com.ls.lserp.dbaccess.Entity.QualityControlREntity;
import com.ls.lserp.modules.order.entity.Order;
import com.ls.lserp.modules.order.entity.StyleOptionEntity;
import com.ls.lserp.modules.sys.entity.DesignoptionCache;


/**
  * @ClassName: QualityDao
  * @Description: 质检项目数据方法接口
  * 
  * @author T.S.Y
  * @date 2018年06月28日
  *
  */

@MyBatisDao
public interface QualityDao extends CrudDao<DesignoptionCache> {

	/**
	 * 获取所有质检信息
	 */
	public List<QualityControlEntity> findAllList(QualityControlEntity qualityControlEntity);
	
	/**
	 * 根据工序id获取工序质检关联信息
	 */
	public List<QualityControlREntity> findQCOperatingByOpId(Long operatingId);
	
	/**
	 * 获取所有订单信息
	 */
	public List<Order> findAllOrderList(Order order);
	/**
	 * 获取单条订单质检信息
	 */
	public List<StyleOptionEntity> findStyleControl(String orderCd,String operatingId);
	
	
	
}
